<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=0, user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="format-detection" content="telephone=no">
	<title>个人中心</title>	
	<link rel="stylesheet" href="../Public/css/reset.css">
	<link rel="stylesheet" href="../Public/css/main.css">
	<link rel="stylesheet" type="text/css" href="../Public/css/my.css"/>
	<script src="../Public/js/jquery-2.1.4.min.js"></script>
	<script src="../Public/js/rem.js"></script>
</head>
<body>
	<!-- head start -->
	<header class="header psa clear bg-color1">
		<span class="back-button" onclick="history.go(-1)">
			<i></i>
			 返回 
		</span>
	</header>
	<!-- head end -->

	<!-- content start -->
	<section class="mtop-btm container">
		<header class="my_head_wrap clear location" id="user_setting">
			<div class="my_head_img fl">
				<img src="../Public/images/my/heda_img.png" width="100%" height="100%" />
			</div>
			<div class="my_name fl" >
				<h4>adminstrator</h4>
				<span>130*****6096</span>
			</div>
		</header>
		<div class="my_balance b5">
			<div class="my_balance_ck">
				<b class="fl">￥999999元</b>
				<i class="fl"></i>
			</div>
			<div class="my_balance_wrap clear">
				<div class="my_balance_item ky_blance fl location" id="sub_agents">
					<i class="fl iconfont">&#xe607;</i>
					<p class="fl">
						<span class="my_balance_names">
							下属代理商
						</span>
					</p>
				</div>
				<div class="my_balance_item dj_blance fr location" id="sub_business">
					<i class="fl iconfont">&#xe63f;</i>
					<p class="fl " >
						<span class="my_balance_names">
							下属商家
						</span>
					</p>
				</div>
			</div>
		</div>

		<div class="class_items b5 add_business location" id="add_business">
			<span><i class="iconfont">&#xe600;</i>添加商家</span>
		</div>
		<div class="class_items b5 service_provider-center location" id="withdraw_records">
			<span><i class="iconfont">&#xe668;</i>提现记录</span>
			<span class="ck_all_jyjl fr">查看所有记录</span>
		</div>
		<div class="class_items b5 cmployer_center location" id="divide_records">
			<span><i class="iconfont">&#xe617;</i>分成记录</span>
			<span class="ck_all_jyjl fr">查看所有记录</span>
		</div>
		<div class="class_items b5 item_jyjl location" id="order_lists">
			<span><i class="iconfont">&#xe62c;</i>订单列表</span>
		</div>	
		<!-- <div class="class_items b5 add_business location" id="stock_lists">
			<span><i></i>库存列表</span>
		</div> -->
		<div class="class_items b5 service_provider-center location" id="user_order">
			<span><i class="iconfont">&#xe72e;</i>用户订单</span>
		</div>
	</section>
	<!-- content end -->
	
	
	<script type="text/javascript">
		/*//跳转页面
		jumpPage($(".footer ul").find("li").eq(0),"/");
		jumpPage($(".footer ul").find("li").eq(1),"{:U('Portal/Page/BiddingHall')}");
		jumpPage($(".footer ul").find("li").eq(2),"{:U('Portal/Page/rewardHall')}");
		jumpPage($(".my_head_wrap"),"{:U('User/Center/accountsettings')}");
		jumpPage($(".item_setting"),"{:U('User/Center/accountsettings')}");
		jumpPage($(".ck_all_jyjl"),"{:U('User/Center/accountlog')}");
	
		//服务商中心
		jumpPage($(".service_provider-center"),"{:U('User/Center/Servicecenter')}");
		//雇主中心
		jumpPage($(".cmployer_center"),"{:U('User/Center/Employercenter')}");
		//投融资管理
		jumpPage($(".financing_management"),"{:U('User/Project/financialmanagement')}");*/
		//隐藏与显示余额
		$(".my_balance_ck i").click(function(){
			var txt = $('.my_balance_ck b').text();
			if(txt === "********"){
				//发送一个请求，查账户余额，返回至此
				$(".my_balance_ck b").text("￥{$balance+$freeze}元").css("marginTop","0rem");;
				$(this).css({
					"background":"url(../Public/images/my/ck_icon1.png) center center no-repeat",
					"backgroundSize":"100% 100%"
				});
			}else{
				$(".my_balance_ck b").text("********").css("marginTop","0.09rem");
				$(this).css({
					"background":"url(../Public/images/my/ck_icon.png) center center no-repeat",
					"backgroundSize":"100% 100%"
				});
			};
		});

		function getEle(ele){
			return document.querySelectorAll(ele)
		}
		var  eles = getEle(".location");
		for(var i = 0  ; i < eles.length;i++){
			eles[i].addEventListener("touchstart",function(){
				window.location.href="./list/"+this.id+".html"
			},false)	
		}
	</script>
</body>
</html>